package com.lncd.backend.service;

import com.lncd.backend.dto.UserDTO;
import com.lncd.backend.model.User;

import java.util.List;

public interface UserService {
    UserDTO register(UserDTO userDTO);
    UserDTO login(String username, String password);
    UserDTO getUserById(Long id);
    UserDTO updateUser(Long id, UserDTO userDTO);
    void deleteUser(Long id);
    List<UserDTO> getAllUsers();
    UserDTO addRelation(Long userId, Long relatedUserId);
    UserDTO removeRelation(Long userId, Long relatedUserId);
    List<UserDTO> getRelatedUsers(Long userId);
} 